<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
<meta charset="utf-8">
<title>ProductType management : <spring:message code="productType.update"
		text="Update ProductType" var="productTypeUpdate" /></title>
</head>
<body>
	<header>
		<h1>${productTypeUpdate}</h1>
		<nav>
			<%@ include file="Nav.jsp"%>
		</nav>
	</header>
	<spring:url value="/productType/saveupdate" var="urlupdate" />
	<form:form method="post" action="${urlupdate}" commandName="productType">
		<form:hidden path="id" />
		<div>
			<form:label path="name">
				<spring:message code="productType.name" text="Name" />
			</form:label>
			<form:errors path="name" />
		</div>
		<div>
			<form:input path="name" />
		</div>

		

		<div>
			<input type="submit" value="${productTypeUpdate}" />
		</div>

	</form:form>
</body>
</html>